<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script>
 var directStart=function (num){
	 console.log("directstart"+num);
 }(5);
 
 
 (function(num){
	 console.log("()start"+num);
 })(4);
 
 (function(num){
	 console.log("()start"+num);
 }(6));
 
 var oldcode = /\((\d{3})\)/g;
 var p = "(555)666-7777".replace(oldcode,"$");
 console.log(p);
 window.directories="yes";
 window.toolbar="yes";
 window.menubar="yes";
 window.status="yes";
</script>
</head>
<body>

</body>
</html>